﻿<UserControl x:Class="VisualStudio.SpellChecker.UI.XmlFilesUserControl"
             xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
             xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
             xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" 
             xmlns:d="http://schemas.microsoft.com/expression/blend/2008" 
             mc:Ignorable="d" 
             d:DesignHeight="375" d:DesignWidth="500">
	<Grid>
		<Grid.ColumnDefinitions>
			<ColumnDefinition />
			<ColumnDefinition />
		</Grid.ColumnDefinitions>
		<GroupBox Header="_Ignored XML Elements" Grid.Column="0">
			<Grid>
				<Grid.RowDefinitions>
					<RowDefinition Height="Auto" />
					<RowDefinition />
					<RowDefinition Height="Auto" />
				</Grid.RowDefinitions>
				<StackPanel Orientation="Horizontal" Grid.Row="0" Margin="3">
					<TextBox Name="txtIgnoredElement" Width="170" Margin="0, 0, 3, 0" />
					<Button Name="btnAddElement" Content="Add" Width="50" ToolTip="Add new ignored XML element"
										Click="btnAddElement_Click" />
				</StackPanel>
				<ListBox Name="lbIgnoredXmlElements" Grid.Row="1" Margin="3" />
				<StackPanel Orientation="Horizontal" Grid.Row="2" Margin="3">
					<Button Name="btnRemoveElement" Content="Remove" Width="80" Margin="0, 0, 3, 0"
										ToolTip="Remove selected ignored XML element" Click="btnRemoveElement_Click" />
					<Button Name="btnDefaultElements" Content="Default" Width="80"
										ToolTip="Reset to default list of ignored XML elements" Click="btnDefaultElements_Click" />
				</StackPanel>
			</Grid>
		</GroupBox>
		<GroupBox Header="Spell _Checked Attributes" Grid.Column="1">
			<Grid>
				<Grid.RowDefinitions>
					<RowDefinition Height="Auto" />
					<RowDefinition />
					<RowDefinition Height="Auto" />
				</Grid.RowDefinitions>
				<StackPanel Orientation="Horizontal" Grid.Row="0" Margin="3">
					<TextBox Name="txtAttributeName" Width="170" Margin="0, 0, 3, 0" />
					<Button Name="btnAddAttribute" Content="Add" Width="50" ToolTip="Add new spell checked XML attribute"
										Click="btnAddAttribute_Click" />
				</StackPanel>
				<ListBox Name="lbSpellCheckedAttributes" Grid.Row="1" Margin="3" />
				<StackPanel Orientation="Horizontal" Grid.Row="2" Margin="3">
					<Button Name="btnRemoveAttribute" Content="Remove" Width="80" Margin="0, 0, 3, 0" 
										ToolTip="Remove selected spell checked XML attribute" Click="btnRemoveAttribute_Click" />
					<Button Name="btnDefaultAttributes" Content="Default" Width="80"
										ToolTip="Reset to default list of spell checked XML attributes" Click="btnDefaultAttributes_Click" />
				</StackPanel>
			</Grid>
		</GroupBox>
	</Grid>
</UserControl>
